package com.mySpringMvc.ui;

import lombok.NoArgsConstructor;

import java.util.LinkedHashMap;

/**
 * @program: mySSM
 * @description: 模型map类
 * @author:wjp
 * @create: 2025-02-13 19:15
 **/
@NoArgsConstructor
public class ModalMap extends LinkedHashMap<String, Object> {
    public ModalMap addAttribute(String name, Object value) {
        this.put(name, value);
        return this;
    }
}
